package cn.bugstack.test.infrastruture;


import cn.bugstack.infrastructure.persistent.po.Award;
import com.alibaba.fastjson.JSON;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import cn.bugstack.infrastructure.persistent.dao.IAwardDao;
import cn.bugstack.infrastructure.persistent.dao.IStrategyDao;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author L.S.F
 * @Date 2025/6/27 15:24
 * @Description TODO
 * @Version 1.0
 *
 */
@Slf4j
@RunWith(SpringRunner.class)
@SpringBootTest
public   class AwardTest1 {

            @Resource
            private IAwardDao awardDao;
            @Resource
            private IStrategyDao strategyDao;

            @Test
            public  void  selectById(){
                List<Award> awards =   awardDao.queryAwardList();
//                List<Strategy> strategies = strategyDao.queryStrategyList();

        log.info("信息"+JSON.toJSONString(awards));
    };
}
